package test1230pm;

public class Yg {
    String name;
    Gs gs;

    public Yg() {
    }

    public Yg(String name) {
        this.name = name;
    }

    public Yg(String name, Gs gs) {
        this.name = name;
        this.gs = gs;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Gs getGs() {
        return gs;
    }

    public void setGs(Gs gs) {
        this.gs = gs;
    }

    @Override
    public String toString() {
        return "Yg{" +
                "name='" + name + '\'' +
                ", gs=" + gs +
                '}';
    }
}
